<?php
class Project extends AppModel 
{
	public $hasMany = array('Team', 'Release', 'Ticket');
	
	// Validations
	public $validate = array
	(
		'project_title' => array(
			'general' => array(
				'rule' => 'notempty',
				'message' => 'Informe o nome para o projeto',
				'required' => true,
				'allowEmpty' => false
			)
		)
	);
}